<template>
<div class="item-form">
  <span class="title width25">{{title}}<span :class="pass?'mustPass':'noMustPass'">*</span></span>
  <el-form-item class="content item-clear" label="" :prop="value">
    <slot />
  </el-form-item>
</div>
</template>

<script>
export default {
  name: 'SearchForm',
  props: {
    title: {
      type: String,
      default: ''
    },
    pass: {
      type: Boolean,
      default: false
    },
    value: {
      type: String,
      default: ''
    },
  },
  methods:{}
}
</script>

<style lang="scss" scoped></style>

